package fr.umlv.m2.jee.pmlv.service.planning;

import java.io.Serializable;
import java.util.Date;

import fr.umlv.m2.jee.pmlv.persistence.planning.AbstractEvent;
import fr.umlv.m2.jee.pmlv.persistence.planning.Classroom;
import fr.umlv.m2.jee.pmlv.persistence.planning.Projector;
import fr.umlv.m2.jee.pmlv.persistence.subject.Subject;

public class DisplayAbstractEvent implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private AbstractEvent abstractEvent;
	
	public DisplayAbstractEvent(AbstractEvent abstractEvent) {
		this.abstractEvent = abstractEvent;
	}
	
	public void setBegin(Date begin) {
		abstractEvent.setBegin(begin);
	}
	public Date getBegin() {
		return abstractEvent.getBegin();
	}
	public void setEnd(Date end) {
		abstractEvent.setEnd(end);
	}
	public Date getEnd() {
		return abstractEvent.getEnd();
	}
	public void setProjector(Projector projector) {
		abstractEvent.setProjector(projector);
	}
	public Projector getProjector() {
		return abstractEvent.getProjector();
	}
	public void setClassroom(Classroom classroom) {
		abstractEvent.setClassroom(classroom);
	}
	public Classroom getClassroom() {
		return abstractEvent.getClassroom();
	}
        public Subject getSubject() {
            return abstractEvent.getSubject();
        }
        public void setSubject(Subject subject) {
            abstractEvent.setSubject(subject);
        }
	public AbstractEvent getAbstractEvent() {
            return abstractEvent;
        }
        public long getId() {
            return abstractEvent.getId();
        }
}
